export default {
  path: "/adminProduct",
  redirect: "/adminProduct/productManage",
  meta: {
    icon: "ri:bank-card-line",
    title: "产品管理",
    rank: 11
  },
  children: [
    {
      path: "/adminProduct/productManage",
      name: "productManage",
      component: () => import("@/views/productManage/index.vue"),
      meta: {
        title: "产品管理",
        roles: ["admin"],
        showParent: true
      }
    },
    {
      path: "/adminProduct/addProduct",
      name: "addProduct",
      component: () =>
        import("@/views/productManage/components/addProduct.vue"),
      meta: {
        title: "添加产品",
        roles: ["admin"],
        showLink: false
      }
    }
  ]
} satisfies RouteConfigsTable;
